package cn.itcast.bos.quartz;

import cn.itcast.bos.service.take_delivery.WayBillService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by miss liu on 2017/8/21.
 */
@Component
public class WayBillJob {
    @Autowired
    WayBillService wayBillService ;

    public void updateWaybillIndex() {
        wayBillService.syncIndex();
    }
}
